<?
if($errorMsg) echo "<center>$errorMsg<center>";
$errorMsg = "";
if($statusMsg) echo "<center>$statusMsg<center>";
$statusMsg = "";
?>
<TABLE width='100%' height='100%' border=0>
<TR>
<TD width='140' align='top'>
<TABLE border=1 class='bTable' cellspacing='0'>
	<tr>
		<td>
			<?
			$params[sid] = $sid;
			$params[action] = 'changeDetails';
			$url = "$baseURL/$webDIR/?".encode_params($params);
			?>			
			<a href='<?=$url;?>'  target='panel'>Change Details</a>
		</td>
		<td>
			<?
			$params[sid] = $sid;
			$params[action] = 'editPlans';
			$url = "$baseURL/$webDIR/?".encode_params($params);
			?>			
			<a href='<?=$url;?>'  target='panel'>Edit Plans Settings</a>
		</td>
		<td>
			<?
			$params[sid] = $sid;
			$params[action] = 'sales';
			$url = "$baseURL/$webDIR/?".encode_params($params);
			?>			
			<a href='<?=$url;?>'  target='panel'>View Seles History</a>
		</td>
                <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'payments';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>'  target='panel'>View Payments History</a>
                </td>
                <td>
                        <?
                        $params[sid] = $sid;
                        $params[action] = 'logout';
                        $url = "$baseURL/$webDIR/?".encode_params($params);
                        ?>
                        <a href='<?=$url;?>' target='panel'>Logout</a>
                </td>
        </tr>

</TABLE>
</TD>
<TD>
<iframe src='' name='panel' frameborder='0' width='100%' height='100%'></iframe>
</TD>
</TR>
</TABLE>
